import http from '@/utils/http.ts'

export const loginReg = (adminname: string, password: string) => {
  return http({
    url: '/admin/admin/login',
    method: 'POST',
    data: {
      adminname,
      password,
    },
  })
}
